package cn.zyx.sys.mapper;

import cn.zyx.common.entity.Page;
import cn.zyx.sys.entity.DictType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 数据字典MAPPER接口
 */
@Mapper
public interface DictTypeMapper {

    List<DictType> getDict();

    DictType get(String id);

    List<DictType> findList(DictType dictType);

    Page<DictType> findPage(Page<DictType> page, DictType dictType);

    void save(DictType dictType);

    void delete(DictType dictType);

    void batchDelete(String[] ids);
}
